<div class="blank10"></div>
{if $view_info_list}
	<style type="text/css">
	.liys{
		padding: 0px 10px; overflow: hidden; float: left; width: 200px; height: 180px;
	}
	.liys  div {
	    display: table;
	    margin: 0 auto;
	}
	</style>
	<link rel="stylesheet" type="text/css" href="{$TMPL}/css/jquery.lightbox-0.5.css" media="screen" />
	<script type="text/javascript" src="{$TMPL}/js/jcarousellite_1.js"></script>
	<script type="text/javascript" src="{$TMPL}/js/jquery.lightbox-0.5.min.js"></script>
	
	<div class="flex-container" style="position: relative;">
	    <a href="javascript:void(0);" class="prev">&nbsp;</a>
	    <div class="jCarouselLite" style="width: 890px">
           <ul id='carousel'>
          		{foreach from =$view_info_list item="abc" key=key}
              	<li class="liys">
               	<a href='{$abc.img}' rel="lightbox-myGroup" title="{$abc.name}">
               		<img src='{$abc.img}' style="width:200px;height: 150px"/>
               	</a>
               	<div style="padding-top: 5px;">{$abc.name}</div>
               	</li>
          		{/foreach}
           </ul>
	    </div>
	    <a href="javascript:void(0);" class="next">&nbsp;</a>
	</div>
	<script type="text/javascript">
	$(document).ready(function(){
		{if count($view_info_list) > 7}
	    $(".jCarouselLite").jCarouselLite({
	        btnNext: ".next",
	        btnPrev: ".prev"
	    });
	    {/if}
	    $('#carousel a').lightBox();
	});
	</script>
	
<div class="blank20"></div>
{/if}
<p class="b" style="margin-bottom:10px">用户信息</p>
    {if !$user_info}
    <p align="center">
    	只有<a href="{url x="index" r="user#register"}" class="f_blue">注册</a>用户才可以查看借入者信用信息！现在<a href="javascript:void(0);" onclick="ajax_login();" class="f_blue">登录</a>
	</p>
    {else}
	
	<div class="clearfix" style="border-bottom:1px solid #e3e3e3; padding:0 0 30px 70px;">
    <div class="clearfix_list">
       <p class="f_l">
        信用等级：<span><img src="{$TMPL}/images/{$u_info.point_level}.png" align="absmiddle" alt="{$u_info.point_level}" title="{$u_info.point_level}" width="16" height="16">
        （{$u_info.point}分）</span>
        </p>
        <p class="f_l" style="width:60%">
        信用额度：<span>
        {function name="format_price" v=$u_info.quota}
        ( 借款后的可用额度：{$can_use_quota} )
		</span>
        </p>
    </div>
    <div class="clearfix_list">
    	{if $u_info.sex gte 0}
        <p class="f_l">
		性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：<span>{if $u_info.idcardpassed eq 1}<font class="f_red">{/if}{if $u_info.sex eq 1}男{else}女{/if}{if $u_info.idcardpassed eq 1}</font>{/if}</span>
        </p>
		{/if}
        <p class="f_l">
		 年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;龄：<span>{if $u_info.idcardpassed eq 1}<font class="f_red"><?php echo to_date(get_gmtime(),"Y")-$this->_var['u_info']['byear'];?></font>{else}<?php echo to_date(get_gmtime(),"Y")-$this->_var['u_info']['byear'];?>{/if}</span>
        </p>
        <p class="f_l">
		 是否结婚：<span>{if $u_info.marrypassed eq 1}<font class="f_red">{$u_info.marriage}</font>{else}{$u_info.marriage}{/if}</span>
        </p>
        <p class="f_l">
		工作城市：<span>{if $u_info.residencepassed eq 1}<font class="f_red">{$u_info.region_province}&nbsp;{$u_info.region_city}</font>{else}{$u_info.region_province}&nbsp;{$u_info.region_city}{/if} {if $expire.residencepassed_expire}（过期）{/if}</span>
        </p>
    </div>
    <div class="clearfix_list">
		<p class="f_l">
		公司行业：<span>{if $u_info.workpassed eq 1}<font class="f_red">{$u_info.workinfo.officetype}</font>{else}{$u_info.workinfo.officetype}{/if}{if $expire.workpassed_expire}（过期）{/if}</span>
     	</p>
		<p class="f_l">
		公司名称：<span>{if $u_info.workpassed eq 1}<font class="f_red">{$u_info.workinfo.office}</font>{else}{$u_info.workinfo.office}{/if}</span>
     	</p>
     	<p class="f_l">
		公司规模：<span>{if $u_info.workpassed eq 1}<font class="f_red">{$u_info.workinfo.officecale}人</font>{else}{$u_info.workinfo.officecale}{/if}</span>
      	</p>
        <p class="f_l">
		 职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位：<span>{if $u_info.workpassed eq 1}<font class="f_red">{$u_info.workinfo.position}</font>{else}{$u_info.workinfo.position}{/if}</span>
        </p>
         <p class="f_l">
         	职业状态：<span>{if $u_info.workpassed eq 1}<font class="f_red">{$u_info.workinfo.jobtype}</font>{else}{$u_info.workinfo.jobtype}{/if}</span>
        </p>
        <p class="f_l">
		工作收入：<span>{if $u_info.incomepassed eq 1}<font class="f_red">{$u_info.workinfo.salary}</font>{else}{$u_info.workinfo.salary}{/if}{if $expire.incomepassed_expire}（过期）{/if}</span>
        </p>
    </div>
    
    <div class="clearfix_list">
        <p class="f_l">
         学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;历：<span>{if $u_info.edupassed eq 1}<font class="f_red">{$u_info.graduation}</font>{else}{$u_info.graduation}{/if}</span>
        </p>
         <p class="f_l">
        入学年份：<span>{if $u_info.edupassed eq 1}<font class="f_red">{$u_info.graduatedyear}</font>{else}{$u_info.graduatedyear}{/if}</span>
        </p>
        <p class="f_l">
        工作时间：<span>{$u_info.workinfo.workyears}</span>
        </p>
    </div>
    
    <div class="clearfix_list">
        <p class="f_l">
		 有无购房：<span>{if $u_info.hashouse eq 1}{if $u_info.housepassed eq 1}有{else}有{/if}{else}无{/if}</span>
		</p>
        <p class="f_l">
		有无购车：<span>{if $u_info.hascar eq 1}{if $u_info.carpassed eq 1}有{else}有{/if}{else}无{/if}</span>
        </p>
		{if $u_info.car_brand}
        <p class="f_l">
		汽车品牌：<span>{$u_info.car_brand}</span>
        </p>
		{/if}
		{if $u_info.car_year}
        <p class="f_l">
		购车年份：<span>{$u_info.car_year}</span>
        </p>
		{/if}
    </div>
    <div class="clearfix_list">
        <p class="f_l">
		有无房贷：<span>{if $u_info.houseloan eq 1}有{else}{if $u_info.hashouse eq 1}无{else}无{/if}{/if}</span>
        </p>
        <p class="f_l">
		有无车贷：<span>{if $u_info.carloan eq 1}有{else}{if $u_info.hascar eq 1}无{else}无{/if}{/if}</span>
         </p>
    </div>
</div>
<p class="b" style="margin:30px 0 10px 0;">
   借款记录
</p>
<div class="clearfix" style="border-bottom:1px solid #e3e3e3;">
    <div style="padding-left:70px;">
        <div class="clearfix_list">
            <p class="f_l">
           借款笔数：<span>{$user_statics.deal_count}</span>
            </p>
            <p class="f_l">
            成功笔数：<span>{$user_statics.success_deal_count}</span>
            </p>
            <p class="f_l">
            还清笔数：<span>{$user_statics.repay_deal_count}</span>
            </p>
            <p class="f_l">
            共计借入：<span>{function name="format_price" v="$user_statics.borrow_amount"}</span>
            </p>
        </div>
        <div class="clearfix_list">
            <p class="f_l">
            逾期次数：<span>{$user_statics.yuqi_count}</span>
            </p>
            <p class="f_l">
            严重逾期：<span>{$user_statics.yz_yuqi_count}</span>
            </p>
            <p class="f_l">
            逾期金额：<span>{function name="format_price" v="$user_statics.yuqi_amount"}</span>
            </p>
            <p class="f_l">
            待还本息：<span>{function name="format_price" v="$user_statics.need_repay_amount"}</span>
            </p>
        </div>
        <div class="clearfix_list">
            <p class="f_l">
            共计借出：<span>{function name="format_price" v="$user_statics.load_money"}</span>
            </p>
            <p class="f_l">
            待收本息：<span>{function name="format_price" v="$user_statics.load_wait_repay_money"}</span>
            </p>
        </div> 
    </div> 
    <div class="prompt" style="padding:30px 0; text-align:center;">
         <i></i>以下基本信息资料，经用户同意披露。其中<font class="f_red">红色字体</font>的信息，为通过{function name="app_conf" v="SHOP_TITLE"}审核之项目。
    </div>
</div>
{/if}
<script type="text/javascript">
$(function(){
    $(".clearfix_list").find("p:last").css("paddingRight","0");
})
</script>